Platform Explorer / Nuxeo Platform 5.8

Contribution org.nuxeo.ecm.user.registration.layouts.contrib--layouts

This contribution is part of XML component org.nuxeo.ecm.user.registration.layouts.contrib inside nuxeo-platform-user-registration-web-5.8.jar

Extension Point

Extension point layouts of component WebLayoutManager.

Contributed Items

  • <layout name="user_requests_listing_layout">
          <properties mode="any">
            <property name="showListingHeader">true</property>
            <property name="showRowEvenOddClass">true</property>
          </properties>
          <templates>
            <template mode="any">/layouts/layout_listing_ajax_template.xhtml</template>
          </templates>
          <columns>
            <column>
              <properties mode="any">
                <property name="isListingSelectionBoxWithCurrentDocument">
                  true
                </property>
                <property name="useFirstWidgetLabelAsColumnHeader">false</property>
                <property name="columnStyleClass">iconColumn</property>
                <property name="isHidden">false</property>
              </properties>
              <widget>listing_ajax_selection_box_with_current_document</widget>
            </column>
    
            <column>
              <properties mode="any">
                <property name="useFirstWidgetLabelAsColumnHeader">true</property>
                <property name="sortPropertyName">userinfo:login</property>
              </properties>
              <widget>user_request_login</widget>
            </column>
    
            <column>
              <properties mode="any">
                <property name="useFirstWidgetLabelAsColumnHeader">true</property>
                <property name="sortPropertyName">userinfo:email</property>
              </properties>
              <widget>user_request_email</widget>
            </column>
    
            <column>
              <properties mode="any">
                <property name="useFirstWidgetLabelAsColumnHeader">true</property>
                <property name="sortPropertyName">userinfo:firstName</property>
              </properties>
              <widget>user_request_firstName</widget>
            </column>
    
            <column>
              <properties mode="any">
                <property name="useFirstWidgetLabelAsColumnHeader">true</property>
                <property name="sortPropertyName">userinfo:lastName</property>
              </properties>
              <widget>user_request_lastName</widget>
            </column>
    
            <column name="creation_date">
              <properties mode="any">
                <property name="useFirstWidgetLabelAsColumnHeader">true</property>
                <property name="sortPropertyName">dc:created</property>
                <property name="label">label.dublincore.created</property>
              </properties>
              <properties mode="edit_sort_infos">
                <property name="showInSortInfoSelection">true</property>
              </properties>
              <properties mode="edit_sort_infos_map">
                <property name="showInSortInfoSelection">true</property>
              </properties>
              <widget>listing_creation_date</widget>
            </column>
    
            <column name="lifecycle">
              <properties mode="any">
                <property name="useFirstWidgetLabelAsColumnHeader">true</property>
                <property name="sortPropertyName">
                  ecm:currentLifeCycleState
                </property>
                <property name="label">
                  label.content.header.currentLifecycleState
                </property>
              </properties>
              <properties mode="edit_sort_infos">
                <property name="showInSortInfoSelection">true</property>
              </properties>
              <widget>listing_lifecycle</widget>
            </column>
    
            <column>
              <properties mode="any">
                <property name="useFirstWidgetLabelAsColumnHeader">false</property>
              </properties>
              <widget>user_request_accept</widget>
            </column>
    
            <column>
              <properties mode="any">
                <property name="useFirstWidgetLabelAsColumnHeader">false</property>
              </properties>
              <widget>user_request_reject</widget>
            </column>
          </columns>
        </layout>
  • <layout name="multiple_user_invitation_info">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml</template>
          </templates>
          <rows>
            <row>
              <widget>multiple_request_emails</widget>
            </row>
            <row>
              <widget>doc_request_permission</widget>
            </row>
            <row>
              <widget>user_request_comment</widget>
            </row>
            <row>
              <widget>user_request_copy_owner</widget>
            </row>
          </rows>
        </layout>
  • <layout name="user_invitation_info">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml</template>
          </templates>
          <rows>
            <row>
              <widget>user_request_email</widget>
            </row>
            <row>
              <widget>user_request_login</widget>
            </row>
            <row>
              <widget>user_request_firstName</widget>
            </row>
            <row>
              <widget>user_request_lastName</widget>
            </row>
            <row>
              <widget>doc_request_permission</widget>
            </row>
            <row>
              <widget>user_request_comment</widget>
            </row>
            <row>
              <widget>user_request_copy_owner</widget>
            </row>
          </rows>
        </layout>
  • <layout name="user_request_configuration">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml</template>
          </templates>
          <rows>
            <row>
              <widget>request_config_allowUserCreation</widget>
            </row>
            <row>
              <widget>request_config_forceRight</widget>
            </row>
            <row>
              <widget>request_config_allowDirectValidationForExistingUser</widget>
            </row>
            <row>
              <widget>request_config_displayLocalRegistration</widget>
            </row>
          </rows>
        </layout>

XML Source

<extension point="layouts" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <layout name="user_requests_listing_layout">
      <properties mode="any">
        <property name="showListingHeader">true</property>
        <property name="showRowEvenOddClass">true</property>
      </properties>
      <templates>
        <template mode="any">/layouts/layout_listing_ajax_template.xhtml</template>
      </templates>
      <columns>
        <column>
          <properties mode="any">
            <property name="isListingSelectionBoxWithCurrentDocument">
              true
            </property>
            <property name="useFirstWidgetLabelAsColumnHeader">false</property>
            <property name="columnStyleClass">iconColumn</property>
            <property name="isHidden">false</property>
          </properties>
          <widget>listing_ajax_selection_box_with_current_document</widget>
        </column>

        <column>
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">true</property>
            <property name="sortPropertyName">userinfo:login</property>
          </properties>
          <widget>user_request_login</widget>
        </column>

        <column>
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">true</property>
            <property name="sortPropertyName">userinfo:email</property>
          </properties>
          <widget>user_request_email</widget>
        </column>

        <column>
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">true</property>
            <property name="sortPropertyName">userinfo:firstName</property>
          </properties>
          <widget>user_request_firstName</widget>
        </column>

        <column>
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">true</property>
            <property name="sortPropertyName">userinfo:lastName</property>
          </properties>
          <widget>user_request_lastName</widget>
        </column>

        <column name="creation_date">
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">true</property>
            <property name="sortPropertyName">dc:created</property>
            <property name="label">label.dublincore.created</property>
          </properties>
          <properties mode="edit_sort_infos">
            <property name="showInSortInfoSelection">true</property>
          </properties>
          <properties mode="edit_sort_infos_map">
            <property name="showInSortInfoSelection">true</property>
          </properties>
          <widget>listing_creation_date</widget>
        </column>

        <column name="lifecycle">
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">true</property>
            <property name="sortPropertyName">
              ecm:currentLifeCycleState
            </property>
            <property name="label">
              label.content.header.currentLifecycleState
            </property>
          </properties>
          <properties mode="edit_sort_infos">
            <property name="showInSortInfoSelection">true</property>
          </properties>
          <widget>listing_lifecycle</widget>
        </column>

        <column>
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">false</property>
          </properties>
          <widget>user_request_accept</widget>
        </column>

        <column>
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">false</property>
          </properties>
          <widget>user_request_reject</widget>
        </column>
      </columns>
    </layout>

    <layout name="multiple_user_invitation_info">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml</template>
      </templates>
      <rows>
        <row>
          <widget>multiple_request_emails</widget>
        </row>
        <row>
          <widget>doc_request_permission</widget>
        </row>
        <row>
          <widget>user_request_comment</widget>
        </row>
        <row>
          <widget>user_request_copy_owner</widget>
        </row>
      </rows>
    </layout>

    <layout name="user_invitation_info">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml</template>
      </templates>
      <rows>
        <row>
          <widget>user_request_email</widget>
        </row>
        <row>
          <widget>user_request_login</widget>
        </row>
        <row>
          <widget>user_request_firstName</widget>
        </row>
        <row>
          <widget>user_request_lastName</widget>
        </row>
        <row>
          <widget>doc_request_permission</widget>
        </row>
        <row>
          <widget>user_request_comment</widget>
        </row>
        <row>
          <widget>user_request_copy_owner</widget>
        </row>
      </rows>
    </layout>

    <layout name="user_request_configuration">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml</template>
      </templates>
      <rows>
        <row>
          <widget>request_config_allowUserCreation</widget>
        </row>
        <row>
          <widget>request_config_forceRight</widget>
        </row>
        <row>
          <widget>request_config_allowDirectValidationForExistingUser</widget>
        </row>
        <row>
          <widget>request_config_displayLocalRegistration</widget>
        </row>
      </rows>
    </layout>

  </extension>